package com.wingsoft.work.vo;

    import java.math.BigDecimal;
    import java.time.LocalDateTime;
    import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.wingsoft.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import com.wingsoft.common.core.domain.BasicEntity;

/**
 * 用户套餐对象 t_user_vip
 *
 * @author hemj
 * @date 2025-10-20
 */
@Data
@ApiOperation("用户套餐返回实体")
public class UserVipVo extends BasicEntity
{

    /** 主键 */
    private Long id;

    /** 用户id */
    private Long userId;

    /** 积分 */
    @Excel(name = "积分")
    @ApiModelProperty("积分")
    private BigDecimal pointNum = BigDecimal.ZERO;

    /** 到期时间 */
    @Excel(name = "到期时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("到期时间")
    private LocalDateTime expireTime;

    /** 状态，1为正常，2为失效 */
    @ApiModelProperty("状态，1为正常，2为vip失效或过期")
    private Integer status;

    private BigDecimal totalPointNum;
}
